package com.system.mapper;


import com.system.pojo.Item;
import com.system.pojo.Vendor;

import java.util.List;

public interface VendorItemAndMapper {
    List<Vendor> selectVendor();

    List<Vendor> selectVendorByPage(String vendorCode, int starRow, int endRow);

    List<Item> selectItem(Vendor vendor);

    List<Item> selectItemByVendor(Integer vendorId, int starRow, int endRow);

    void delItemForVendor(String vendorId, String itemId);

    List<Item> selectUnSelectedItem(Vendor vendor);

    List<Item> selectUnSelectedItemByPage(Integer vendorId, int starRow, int endRow);

    void addItem(String vendorId, String itemId);

}
